package com.xs.common.excel;

/**
 * @author xs
 * date 2018/3/27 16:04
 */

public class ImportParams {
    /**
     * 表格标题行数,默认0
     */
    private int titleRowIndex = 0;

    /**
     * 开始读取的sheet位置,默认为0
     */
    private int startSheetIndex = 0;

    /**
     * 是否开启导入校验
     */
    private boolean needVerfiy;

    /**
     * 是否需要生成错误excel
     */
    private boolean needExportError;

    public int getTitleRowIndex() {
        return titleRowIndex;
    }

    public void setTitleRowIndex(int titleRowIndex) {
        this.titleRowIndex = titleRowIndex;
    }

    public int getStartSheetIndex() {
        return startSheetIndex;
    }

    public void setStartSheetIndex(int startSheetIndex) {
        this.startSheetIndex = startSheetIndex;
    }

    public boolean isNeedVerfiy() {
        return needVerfiy;
    }

    public void setNeedVerfiy(boolean needVerfiy) {
        this.needVerfiy = needVerfiy;
    }

    public boolean isNeedExportError() {
        return needExportError;
    }

    public void setNeedExportError(boolean needExportError) {
        this.needExportError = needExportError;
    }
}
